package com.train.batch.enums.impl;

import com.train.batch.enums.Enums;

public enum JobOperationEnums implements Enums {
    
    ADD_JOB("addJob", "添加任务"),
    NORMAL_JOB("normalJob", "正常任务"),
    EDIT_JOB("editJob", "修改任务"),
    PAUSE_JOB("pauseJob", "暂停任务"),
    COMPLETE_JOB("completeJob", "完成任务"),
    ERROR_JOB("errorJob", "错误任务"),
    DELETE_JOB("deleteJob", "删除任务");
    
    private final String code;
    
    private final String message;
    
    JobOperationEnums(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
